#! /usr/bin/env python2.5

from __future__ import with_statement
import pygame
import sys
import mod_game,mod_gui

if __name__ == "__main__":
    
    game = mod_game.Game()
    
    #with open('savegame.dat') as f:
    #    game = mod_game.loadGame(f)
    
    mod_gui.theGUI = mod_gui.GUI(game)
    
    while game.player.HP > 0:
        game.player.location[0].processActors(game)
        